// samsting : this file is auto create.

#include "Rds/2014-08-15/DescribeDBInstanceNetInfoResponse.h"

namespace aliyun { namespace Rds {

DescribeDBInstanceNetInfoResponse::DescribeDBInstanceNetInfoResponse() {
}

const string& DescribeDBInstanceNetInfoResponse::DBInstanceNetInfo::securityIPGroups::GetSecurityIPGroupName(void) const {
  return SecurityIPGroupName_;
}

const string& DescribeDBInstanceNetInfoResponse::DBInstanceNetInfo::securityIPGroups::GetSecurityIPs(void) const {
  return SecurityIPs_;
}

const std::vector<DescribeDBInstanceNetInfoResponse::DBInstanceNetInfo::securityIPGroups>& DescribeDBInstanceNetInfoResponse::DBInstanceNetInfo::GetSecurityIPGroups(void) const {
  return SecurityIPGroups_;
}

const string& DescribeDBInstanceNetInfoResponse::DBInstanceNetInfo::GetConnectionString(void) const {
  return ConnectionString_;
}

const string& DescribeDBInstanceNetInfoResponse::DBInstanceNetInfo::GetIPAddress(void) const {
  return IPAddress_;
}

const string& DescribeDBInstanceNetInfoResponse::DBInstanceNetInfo::GetIPType(void) const {
  return IPType_;
}

const string& DescribeDBInstanceNetInfoResponse::DBInstanceNetInfo::GetPort(void) const {
  return Port_;
}

const string& DescribeDBInstanceNetInfoResponse::DBInstanceNetInfo::GetVPCId(void) const {
  return VPCId_;
}

const string& DescribeDBInstanceNetInfoResponse::DBInstanceNetInfo::GetVSwitchId(void) const {
  return VSwitchId_;
}

const std::vector<DescribeDBInstanceNetInfoResponse::DBInstanceNetInfo>& DescribeDBInstanceNetInfoResponse::GetDBInstanceNetInfos(void) const {
  return DBInstanceNetInfos_;
}

const string& DescribeDBInstanceNetInfoResponse::GetInstanceNetworkType(void) const {
  return InstanceNetworkType_;
}

const char* DescribeDBInstanceNetInfoResponse::BaseKey(void) {
  return "DescribeDBInstanceNetInfoResponse";
}

void DescribeDBInstanceNetInfoResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int DBInstanceNetInfos__length = 0;
  UnmarshallerInt(DBInstanceNetInfos__length, response_map, "DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos.Length");
  if(DBInstanceNetInfos__length >= 0) {
    DBInstanceNetInfos_.resize(DBInstanceNetInfos__length);
    for(int i1 = 0; i1 < DBInstanceNetInfos__length; i1++) {
      int DBInstanceNetInfos_i1_SecurityIPGroups__length = 0;
      UnmarshallerInt(DBInstanceNetInfos_i1_SecurityIPGroups__length, response_map, "DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos[+"+string_ValueOfInt(i1)+"].SecurityIPGroups.Length");
      if(DBInstanceNetInfos_i1_SecurityIPGroups__length >= 0) {
        DBInstanceNetInfos_[i1].SecurityIPGroups_.resize(DBInstanceNetInfos_i1_SecurityIPGroups__length);
        for(int i2 = 0; i2 < DBInstanceNetInfos_i1_SecurityIPGroups__length; i2++) {
          UnmarshallerString(DBInstanceNetInfos_[i1].SecurityIPGroups_[i2].SecurityIPGroupName_, response_map, "DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos[+"+string_ValueOfInt(i1)+"].SecurityIPGroups["+string_ValueOfInt(i2)+"].SecurityIPGroupName");
          UnmarshallerString(DBInstanceNetInfos_[i1].SecurityIPGroups_[i2].SecurityIPs_, response_map, "DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos[+"+string_ValueOfInt(i1)+"].SecurityIPGroups["+string_ValueOfInt(i2)+"].SecurityIPs");
        } // for(int i2 = 0; i2 < DBInstanceNetInfos_i1_SecurityIPGroups__length; i2++) {
      } // if(DBInstanceNetInfos_i1_SecurityIPGroups__length >= 0) {

      UnmarshallerString(DBInstanceNetInfos_[i1].ConnectionString_, response_map, "DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos["+string_ValueOfInt(i1)+"].ConnectionString");
      UnmarshallerString(DBInstanceNetInfos_[i1].IPAddress_, response_map, "DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos["+string_ValueOfInt(i1)+"].IPAddress");
      UnmarshallerString(DBInstanceNetInfos_[i1].IPType_, response_map, "DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos["+string_ValueOfInt(i1)+"].IPType");
      UnmarshallerString(DBInstanceNetInfos_[i1].Port_, response_map, "DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos["+string_ValueOfInt(i1)+"].Port");
      UnmarshallerString(DBInstanceNetInfos_[i1].VPCId_, response_map, "DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos["+string_ValueOfInt(i1)+"].VPCId");
      UnmarshallerString(DBInstanceNetInfos_[i1].VSwitchId_, response_map, "DescribeDBInstanceNetInfoResponse.DBInstanceNetInfos["+string_ValueOfInt(i1)+"].VSwitchId");
    } // for(int i1 = 0; i1 < DBInstanceNetInfos__length; i1++) {
  } // if(DBInstanceNetInfos__length >= 0) {

  UnmarshallerString(InstanceNetworkType_, response_map, "DescribeDBInstanceNetInfoResponse.InstanceNetworkType");
}


} } // namespace aliyun { namespace Rds {

// end of file 
